package com.kangyi.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Blank
 * @since 2025-02-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("nursing_home_application")
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class NursingHomeApplication implements Serializable {

    //预约状态：0待审核，1同意，2拒绝
    public static final Integer PENDING_REVIEW = 0;
    public static final Integer APPROVED = 1;
    public static final Integer REJECTED = 2;

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String nursingHomeName;

    private Integer organizationId;

    private Integer userId;

    private String director;

    private LocalDate establishmentTime;

    private String idCard;

    private String phone;

    private String addressDescription;

    private String businessLicense;

    private String establishmentLicense;

    private String fireSafetyCertificate;

    private String realEstateCertificateOrLeaseCertificate;

    private String hygienicLicense;

    private Integer status;

    private String rejectionReason;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Integer createUser;

    private Integer updateUser;


}
